home *** CD-ROM | disk | FTP | other *** search
- function FSelectableListClass()
- {
- this.init();
- }
- function(label, data)
- {
- !this.enable;
- }
- FSelectableListClass.prototype = new FUIComponentClass();
- FSelectableListClass.prototype.init = function()
- {
- super.init();
- this.enable = true;
- this.selected = new Array();
- this.topDisplayed = this.numDisplayed = 0;
- this.lastSelected = 0;
- this.tabChildren = false;
- if(this._name != undefined)
- {
- this.dataProvider = new DataProviderClass();
- this.dataProvider.addView(this);
- }
- };
- FSelectableListClass.prototype.addItemAt = function(index, label, data)
- {
- if(index < 0 || !this.enable)
- {
- return undefined;
- }
- this.dataProvider.addItemAt(index,{label:label,data:data});
- };
- FSelectableListClass.prototype;
- "addItem";
-